package cn.wd.user.model;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author wangdong
 * @date 2024/10/8 13:33
 * @Description: 登录对象
 **/
@Data
public class LoginBody {

    @NotBlank(message = "登录账号不能为空")
    private String username;

    @NotBlank(message = "登录密码不能为空")
    private String password;
}
